package com.geekaca.web.mapper;


import com.geekaca.web.pojo.User;

public interface UserMapper {
    // 查询用户密码是否正确
    int selectUser(String username, String  pass);

//    User selectUserInfo(@Param("username") String username, @Param("password") String password);
    User selectUserInfo(User user);

    // 添加用户
    int addUser(User user);
    // 查询用户是否已注册
    int ifExistUser(String usrname);

    int addUser(String username, String password);
}
